package deep6jvmdvm;

/*
Class 对象在执行引擎中的初始化过程
 */
public class Foo {
    public static void main(String[] args) {
        new Foo().print();
    }

    public void print() {
        int superCode = super.hashCode();
        System.out.println("superCode is " + superCode);

        int thisCode = hashCode();
        System.out.println("thisCode is " + thisCode);

    }

    public int hashCode() {
        return 111;
    }
}
